package app.system.mapper;

import app.system.entity.MusicMusicLisit;

import java.util.List;

public interface MusicMusicLisitMapper {
    /**
     * 保存音乐和歌单关联
     * @param musicMusicLisit
     * @return
     */
    int saveMusicMusicList(MusicMusicLisit musicMusicLisit);

    /**
     * 获取所有的关联数据
     * @return
     */
    List<MusicMusicLisit> getMusicMusicListAll();

    /**
     * 根据条件查询关联
     * @param musicMusicLisit
     * @return
     */
    List<MusicMusicLisit> selectMusicMusicListByTage(MusicMusicLisit musicMusicLisit);

    /**
     * 删除关联
     * @param musicMusicLisit
     * @return
     */
    int deleteMusicMusicLisit(MusicMusicLisit musicMusicLisit);

    /**
     * 根据条件查询关联条数
     * @param musicMusicLisit
     * @return
     */
    int seleceMusicMusicLisitCount(MusicMusicLisit musicMusicLisit);
}
